cmake_minimum_required(VERSION 3.0.2)
#工程名称
project(hello)

#查找依赖包
find_package(catkin REQUIRED COMPONENTS roscpp)

#包与包之间的依赖
catkin_package(
    # CATKIN_DEPENDS
    # message_runtime
)

#头文件路径
include_directories(
 include
 ${catkin_INCLUDE_DIRS}
)

#编译可执行文件/链接库/依赖
add_executable(${PROJECT_NAME}_node src/hello.cpp)
target_link_libraries(${PROJECT_NAME}_node ${catkin_LIBRARIES})

